package com.lcf.system.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lcf.framework.annotation.DictFile;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

/**
 * 商品评价(GoodsComment)表实体类
 *
 * @author lcf
 * @since 2025-05-02 11:55:01
 */
@Data
@NoArgsConstructor
public class GoodsCommentVO {
    //id
    @Schema(description = "id")
    private Long id;
    //评价时间
    @Schema(description = "评价时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate commentTime;
    //评价内容
    @Schema(description = "评价内容")
    private String commentContent;
    //评价图片
    @Schema(description = "评价图片")
    @DictFile
    private String commentImg;
}

